package com.martin.iconparse;

import java.util.ArrayList;
import java.util.List;

/**
 * @author zhangyang
 * @date 2018/3/28
 */

public class EventParseProcess {

    private StringBuffer sb;

    public void setShowInfo(String showInfo) {
        if (null == sb) {
            sb = new StringBuffer();
        }
        if (sb.length() > 8000) {
            sb.delete(0, 4000);
        }
        sb.append(showInfo).append("\r\n");
    }

    public String getShowInfo() {
        return null == sb ? "" : sb.toString();
    }
}
